package com.org.api.admin.entity.po;

/**
 * @Description
 * @auther dh
 * @date 2022/2/21 16:53
 */
public enum CmsUserRedisIndexEnum {

	NAV(1, "com.org.api.admin.entity.po.CmsRedisIndexNavigation");

	CmsUserRedisIndexEnum(int moduleType, String classPath) {
		this.moduleType = moduleType;
		this.classPath = classPath;
	}

	String getClassPathByModuleType(int moduleType) {
		String classPath = NAV.getClassPath();
		switch (moduleType) {
			case 1:
				classPath = NAV.getClassPath();
			default:
				classPath = NAV.getClassPath();
				break;
		}
		return classPath;
	}

	private int moduleType;

	private String classPath;

	public int getModuleType() {
		return moduleType;
	}

	public void setModuleType(int moduleType) {
		this.moduleType = moduleType;
	}

	public String getClassPath() {
		return classPath;
	}

	public void setClassPath(String classPath) {
		this.classPath = classPath;
	}
}
